#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from dragon.locatordetail import LocatorDetail

class StockTrackPage5:
        # 股票列表
        stockBlock = LocatorDetail('li.infinite-list-item', '股票块')
        stock = LocatorDetail('div.demo6-item-name', '股票')
        stockCode = LocatorDetail('div.demo6-item-name>span:nth-child(2)', '股票代码')
        changeCount = LocatorDetail('div.demo6-item-moneyNum>span:nth-child(2)', '异动次数')
        changeTime = LocatorDetail('div.demo6-item-BkName>span:nth-child(2)', '异动时间')
        realtimeIncrease = LocatorDetail('div.demo6-shishi>div', '实时涨幅')
        changeIncrease = LocatorDetail('div.demo-yidong>div', '异动涨幅')
        notMatchAlert = LocatorDetail('div.empty-text','空数据提示')
        # 详情
        detailButton = LocatorDetail('div.demo6-item-right>div.date-right', '详情按钮')
        detailChangeTime = LocatorDetail('div.demo5-detil > div > div:nth-child(1) > div:nth-child(1)', '详情异动时间')
        detailNohistoryAlert= LocatorDetail('当前没有历史数据', '无历史数据提示','text')
        auction=LocatorDetail('div.demo6-jlk>div:nth-child(1)>div','集合竞价')
        circulation=LocatorDetail('div.demo6-jlk>div:nth-child(2)>div','流通值')
        openVolume=LocatorDetail('div.demo6-jlk>div:nth-child(3)>div','集合竞价')